<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="pg" uri="http://jsptags.com/tags/navigation/pager"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

	<head>
		<title>信息来源列表页面</title>
		<link style="text/css" rel="stylesheet"
			href="${pageContext.request.contextPath}/css/commons/globals.css" />

		<script type="text/javascript">
	function gopage(url) {
		window.location.href = url;
	}
</script>

	</head>

	<body>
		<div id="left1"
			style="font-size: 14px; line-height: 50px; font-weight: bold; color: red; text-align: left; padding-left: 30px;">
			用户行为还原系统----${pid }--${speech }---分词集如下：
			<br />
		</div>
		<table width="60%" id="table1">
			<tr>
				<th>
					编号
				</th>
				<th>
					信息来源
				</th>
				<th>
					操作
				</th>
			</tr>

			<c:if test="${!empty orgs.getall}">
				<c:forEach items="${orgs.getall }" var="org">
					<tr>
						<th>
							${org.id }
						</th>
						<th>
							${org.category }
						</th>

						<th>
							<a
								href="{pageContext.request.contextPath}/category!updatePC.action?id=${org.id }&pid=${pid}">修改为--${org.category }--类型
							</a>
						</th>
					</tr>
				</c:forEach>
			</c:if>

			<tr>
				<td colspan="3" align="left" style="border: 0px">
					<br />
					<br />
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
					<input type="button" value="添加信息来源"
						onclick="gopage('${pageContext.request.contextPath}/control/customer/infoSource.do?method=addUI')" />
				</td>
			</tr>
		</table>
	</body>
</html>

